using System;
using System.Text;

namespace OVS.BusinessObjects
{
	[Serializable()]
	public partial class Config
	{
		private int _conf_id;

		public int conf_id
		{
			get { return _conf_id; }
			set { _conf_id = value; }
		}

		private string _conf_fn_video;

		public string conf_fn_video
		{
			get { return _conf_fn_video; }
			set { _conf_fn_video = value; }
		}

		private string _conf_fn_images;

		public string conf_fn_images
		{
			get { return _conf_fn_images; }
			set { _conf_fn_images = value; }
		}

		private string _conf_fn_haar;

		public string conf_fn_haar
		{
			get { return _conf_fn_haar; }
			set { _conf_fn_haar = value; }
		}

		private string _conf_fn_images_traj;

		public string conf_fn_images_traj
		{
			get { return _conf_fn_images_traj; }
			set { _conf_fn_images_traj = value; }
		}

		private string _conf_fn_mail;

		public string conf_fn_mail
		{
			get { return _conf_fn_mail; }
			set { _conf_fn_mail = value; }
		}

		private string _conf_fn_serv;

		public string conf_fn_serv
		{
			get { return _conf_fn_serv; }
			set { _conf_fn_serv = value; }
		}

		private string _conf_fn_log;

		public string conf_fn_log
		{
			get { return _conf_fn_log; }
			set { _conf_fn_log = value; }
		}

		private string _conf_fn_pwd;

		public string conf_fn_pwd
		{
			get { return _conf_fn_pwd; }
			set { _conf_fn_pwd = value; }
		}

		public Config()
		{ }

		public Config(int conf_id,string conf_fn_video,string conf_fn_images,string conf_fn_haar,string conf_fn_images_traj,string conf_fn_mail,string conf_fn_serv,string conf_fn_log,string conf_fn_pwd)
		{
			this.conf_id = conf_id;
			this.conf_fn_video = conf_fn_video;
			this.conf_fn_images = conf_fn_images;
			this.conf_fn_haar = conf_fn_haar;
			this.conf_fn_images_traj = conf_fn_images_traj;
			this.conf_fn_mail = conf_fn_mail;
			this.conf_fn_serv = conf_fn_serv;
			this.conf_fn_log = conf_fn_log;
			this.conf_fn_pwd = conf_fn_pwd;
		}

		public override string ToString()
		{
			return "conf_id = " + conf_id.ToString() + ",conf_fn_video = " + conf_fn_video + ",conf_fn_images = " + conf_fn_images + ",conf_fn_haar = " + conf_fn_haar + ",conf_fn_images_traj = " + conf_fn_images_traj + ",conf_fn_mail = " + conf_fn_mail + ",conf_fn_serv = " + conf_fn_serv + ",conf_fn_log = " + conf_fn_log + ",conf_fn_pwd = " + conf_fn_pwd;
		}

		public partial class conf_idComparer : System.Collections.Generic.IComparer<Config>
		{
			public SorterMode SorterMode;
			public conf_idComparer()
			{ }
			public conf_idComparer(SorterMode SorterMode)
			{
				this.SorterMode = SorterMode;
			}
			#region IComparer<Config> Membres
			int System.Collections.Generic.IComparer<Config>.Compare(Config x, Config y)
			{
				if (SorterMode == SorterMode.Ascending)
				{
					return y.conf_id.CompareTo(x.conf_id);
				}
				else
				{
					return x.conf_id.CompareTo(y.conf_id);
				}
			}
			#endregion
		}
		public partial class conf_fn_videoComparer : System.Collections.Generic.IComparer<Config>
		{
			public SorterMode SorterMode;
			public conf_fn_videoComparer()
			{ }
			public conf_fn_videoComparer(SorterMode SorterMode)
			{
				this.SorterMode = SorterMode;
			}
			#region IComparer<Config> Membres
			int System.Collections.Generic.IComparer<Config>.Compare(Config x, Config y)
			{
				if (SorterMode == SorterMode.Ascending)
				{
					return y.conf_fn_video.CompareTo(x.conf_fn_video);
				}
				else
				{
					return x.conf_fn_video.CompareTo(y.conf_fn_video);
				}
			}
			#endregion
		}
		public partial class conf_fn_imagesComparer : System.Collections.Generic.IComparer<Config>
		{
			public SorterMode SorterMode;
			public conf_fn_imagesComparer()
			{ }
			public conf_fn_imagesComparer(SorterMode SorterMode)
			{
				this.SorterMode = SorterMode;
			}
			#region IComparer<Config> Membres
			int System.Collections.Generic.IComparer<Config>.Compare(Config x, Config y)
			{
				if (SorterMode == SorterMode.Ascending)
				{
					return y.conf_fn_images.CompareTo(x.conf_fn_images);
				}
				else
				{
					return x.conf_fn_images.CompareTo(y.conf_fn_images);
				}
			}
			#endregion
		}
		public partial class conf_fn_haarComparer : System.Collections.Generic.IComparer<Config>
		{
			public SorterMode SorterMode;
			public conf_fn_haarComparer()
			{ }
			public conf_fn_haarComparer(SorterMode SorterMode)
			{
				this.SorterMode = SorterMode;
			}
			#region IComparer<Config> Membres
			int System.Collections.Generic.IComparer<Config>.Compare(Config x, Config y)
			{
				if (SorterMode == SorterMode.Ascending)
				{
					return y.conf_fn_haar.CompareTo(x.conf_fn_haar);
				}
				else
				{
					return x.conf_fn_haar.CompareTo(y.conf_fn_haar);
				}
			}
			#endregion
		}
		public partial class conf_fn_images_trajComparer : System.Collections.Generic.IComparer<Config>
		{
			public SorterMode SorterMode;
			public conf_fn_images_trajComparer()
			{ }
			public conf_fn_images_trajComparer(SorterMode SorterMode)
			{
				this.SorterMode = SorterMode;
			}
			#region IComparer<Config> Membres
			int System.Collections.Generic.IComparer<Config>.Compare(Config x, Config y)
			{
				if (SorterMode == SorterMode.Ascending)
				{
					return y.conf_fn_images_traj.CompareTo(x.conf_fn_images_traj);
				}
				else
				{
					return x.conf_fn_images_traj.CompareTo(y.conf_fn_images_traj);
				}
			}
			#endregion
		}
		public partial class conf_fn_mailComparer : System.Collections.Generic.IComparer<Config>
		{
			public SorterMode SorterMode;
			public conf_fn_mailComparer()
			{ }
			public conf_fn_mailComparer(SorterMode SorterMode)
			{
				this.SorterMode = SorterMode;
			}
			#region IComparer<Config> Membres
			int System.Collections.Generic.IComparer<Config>.Compare(Config x, Config y)
			{
				if (SorterMode == SorterMode.Ascending)
				{
					return y.conf_fn_mail.CompareTo(x.conf_fn_mail);
				}
				else
				{
					return x.conf_fn_mail.CompareTo(y.conf_fn_mail);
				}
			}
			#endregion
		}
		public partial class conf_fn_servComparer : System.Collections.Generic.IComparer<Config>
		{
			public SorterMode SorterMode;
			public conf_fn_servComparer()
			{ }
			public conf_fn_servComparer(SorterMode SorterMode)
			{
				this.SorterMode = SorterMode;
			}
			#region IComparer<Config> Membres
			int System.Collections.Generic.IComparer<Config>.Compare(Config x, Config y)
			{
				if (SorterMode == SorterMode.Ascending)
				{
					return y.conf_fn_serv.CompareTo(x.conf_fn_serv);
				}
				else
				{
					return x.conf_fn_serv.CompareTo(y.conf_fn_serv);
				}
			}
			#endregion
		}
		public partial class conf_fn_logComparer : System.Collections.Generic.IComparer<Config>
		{
			public SorterMode SorterMode;
			public conf_fn_logComparer()
			{ }
			public conf_fn_logComparer(SorterMode SorterMode)
			{
				this.SorterMode = SorterMode;
			}
			#region IComparer<Config> Membres
			int System.Collections.Generic.IComparer<Config>.Compare(Config x, Config y)
			{
				if (SorterMode == SorterMode.Ascending)
				{
					return y.conf_fn_log.CompareTo(x.conf_fn_log);
				}
				else
				{
					return x.conf_fn_log.CompareTo(y.conf_fn_log);
				}
			}
			#endregion
		}
		public partial class conf_fn_pwdComparer : System.Collections.Generic.IComparer<Config>
		{
			public SorterMode SorterMode;
			public conf_fn_pwdComparer()
			{ }
			public conf_fn_pwdComparer(SorterMode SorterMode)
			{
				this.SorterMode = SorterMode;
			}
			#region IComparer<Config> Membres
			int System.Collections.Generic.IComparer<Config>.Compare(Config x, Config y)
			{
				if (SorterMode == SorterMode.Ascending)
				{
					return y.conf_fn_pwd.CompareTo(x.conf_fn_pwd);
				}
				else
				{
					return x.conf_fn_pwd.CompareTo(y.conf_fn_pwd);
				}
			}
			#endregion
		}
	}
}
